package com.wish.mapper;

import com.wish.dto.RoleDto;
import com.wish.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author 五组
 * @since 2021-03-22
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> getlist(RoleDto roleDto);

    SysRole getOneRole(Integer id);

    List<SysRole> queryList(Long deptId, Integer id);
}
